package com.pansoft.openplanet.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 托管账户列表
 */
public class EscrowAccountListBean implements Serializable {


    /**
     * result : success
     * assets : [{"availableCoin":0,"blockchainId":"4","chain":"1","coinDecimals":18,"coinFullName":"TURBOCHAIN","coinName":"PWR","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"},{"availableCoin":0,"blockchainId":"2","chain":"1","coinAddress":"0x86fa049857e0209aa7d9e616f7eb3b3b78ecfdb0","coinDecimals":18,"coinFullName":"Ethernet","coinIcon":"http://cdn.openserver.cn/images/eth/tokens/eos.png","coinName":"ETH","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"},{"availableCoin":0,"blockchainId":"2","chain":"2","coinAddress":"0xf230b790e05390fc8295f4d3f60332c93bed42e2","coinDecimals":6,"coinFullName":"Tronix","coinIcon":"http://cdn.openserver.cn/images/eth/tokens/trx.png","coinName":"TRX","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"},{"availableCoin":0,"blockchainId":"2","chain":"2","coinAddress":"0xcb97e65f07da24d46bcdd078ebebd7c6e6e3d750","coinDecimals":8,"coinFullName":"Bytom","coinIcon":"http://cdn.openserver.cn/images/eth/tokens/btm.png","coinName":"BTM","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"},{"availableCoin":0,"blockchainId":"2","chain":"2","coinAddress":"0x168296bb09e24a88805cb9c33356536b980d3fc5","coinDecimals":8,"coinFullName":"RHOC","coinIcon":"http://cdn.openserver.cn/images/eth/tokens/rhoc.png","coinName":"RHOC","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"},{"availableCoin":0,"blockchainId":"2","chain":"2","coinAddress":"0xd0a4b8946cb52f0661273bfbc6fd0e0c75fc6433","coinDecimals":18,"coinFullName":"Storm","coinIcon":"http://cdn.openserver.cn/images/eth/tokens/storm.png","coinName":"STORM","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"},{"availableCoin":0,"blockchainId":"2","chain":"2","coinAddress":"0xb64ef51c888972c908cfacf59b47c1afbc0ab8ac","coinDecimals":8,"coinFullName":"Storj","coinIcon":"http://cdn.openserver.cn/images/eth/tokens/storj.png","coinName":"STORJ","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"},{"availableCoin":0,"blockchainId":"2","chain":"2","coinAddress":"0x9bbc50ed20648dc048ff772912ac469dacb48b0d","coinDecimals":18,"coinFullName":"IPFS","coinIcon":"http://cdn.openserver.cn/images/eth/tokens/fil.png","coinName":"IPFS","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"},{"availableCoin":0,"blockchainId":"2","chain":"2","coinAddress":"0x2d0e95bd4795d7ace0da3c0ff7b706a5970eb9d3","coinDecimals":18,"coinFullName":"All Sports Coin","coinIcon":"http://cdn.openserver.cn/images/eth/tokens/soc.png","coinName":"SOC","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"},{"availableCoin":0,"blockchainId":"2","chain":"2","coinAddress":"0xd850942ef8811f2a866692a623011bde52a462c1","coinDecimals":18,"coinFullName":"VeChain","coinIcon":"http://cdn.openserver.cn/images/eth/tokens/ven.png","coinName":"VEN","freezingCoin":0,"sysAddress":"0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212","userId":"17181671147"}]
     */

    private String result;
    private List<AssetsBean> assets;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public List<AssetsBean> getAssets() {
        return assets;
    }

    public void setAssets(List<AssetsBean> assets) {
        this.assets = assets;
    }

    public static class AssetsBean implements Serializable {
        /**
         * availableCoin : 0.0
         * blockchainId : 4
         * chain : 1
         * coinDecimals : 18
         * coinFullName : TURBOCHAIN
         * coinName : PWR
         * freezingCoin : 0.0
         * sysAddress : 0x4f9b20fe00d0fc7e9ef192dbdd2d6e73430b0212
         * userId : 17181671147
         * coinAddress : 0x86fa049857e0209aa7d9e616f7eb3b3b78ecfdb0
         * coinIcon : http://cdn.openserver.cn/images/eth/tokens/eos.png
         */

        private double availableCoin;
        private String blockchainId;
        private String chain;
        private int coinDecimals;
        private String coinFullName;
        private String coinName;
        private double freezingCoin;
        private String sysAddress;
        private String userId;
        private String coinAddress;
        private String coinIcon;
        //托管币编号
        private Integer trusteeshipId;

        public Integer getTrusteeshipId() {
            return trusteeshipId;
        }

        public AssetsBean setTrusteeshipId(Integer trusteeshipId) {
            this.trusteeshipId = trusteeshipId;
            return this;
        }

        public double getAvailableCoin() {
            return availableCoin;
        }

        public void setAvailableCoin(double availableCoin) {
            this.availableCoin = availableCoin;
        }

        public String getBlockchainId() {
            return blockchainId;
        }

        public void setBlockchainId(String blockchainId) {
            this.blockchainId = blockchainId;
        }

        public String getChain() {
            return chain;
        }

        public void setChain(String chain) {
            this.chain = chain;
        }

        public int getCoinDecimals() {
            return coinDecimals;
        }

        public void setCoinDecimals(int coinDecimals) {
            this.coinDecimals = coinDecimals;
        }

        public String getCoinFullName() {
            return coinFullName;
        }

        public void setCoinFullName(String coinFullName) {
            this.coinFullName = coinFullName;
        }

        public String getCoinName() {
            return coinName;
        }

        public void setCoinName(String coinName) {
            this.coinName = coinName;
        }

        public double getFreezingCoin() {
            return freezingCoin;
        }

        public void setFreezingCoin(double freezingCoin) {
            this.freezingCoin = freezingCoin;
        }

        public String getSysAddress() {
            return sysAddress;
        }

        public void setSysAddress(String sysAddress) {
            this.sysAddress = sysAddress;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getCoinAddress() {
            return coinAddress;
        }

        public void setCoinAddress(String coinAddress) {
            this.coinAddress = coinAddress;
        }

        public String getCoinIcon() {
            return coinIcon;
        }

        public void setCoinIcon(String coinIcon) {
            this.coinIcon = coinIcon;
        }
    }
}
